home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1997 September
/
Macworld (1997-09).dmg
/
Shareware World
/
Comms & Internet
/
MondoMail
/
AppleScript & Mondo
/
Mondo Demo Script
Wrap
Text File
|
1997-06-21
|
977b
|
27 lines
--
-- Edit the properties at the top of this script to point to your SMTP gateway
-- and at your email address; compile and run the script. To send to multiple recipients, separate
-- each address by commas (e.g., "wkw@acmetech.com,sales@acmetech.com")
--
property pHost : "mail.snet.net"
property pToUser : "you@yourDomain"
property pFromUser : "you@yourDomain"
property pSubject : "Hello from MondoMail!"
(* Note: You can also send mail using the CC: and Bcc: fields. The syntax is as follows:
send mail "Body of message" to "user@host" CC "ccUser@host" BCC "bccUser"
subject "This is a MondoMail Message" SMTP gateway "yourGateway"
*)
try
tell application "Mondo Mail.fat"
send mail "Test message" subject pSubject to pToUser from pFromUser SMTP gateway pHost ¬
-- CC "put CC: addresses here" BCC "put Bcc: addresses here"
end tell
on error msg number eNum
display dialog "The following error was returned from MondoMail: " & eNum & return & msg
end try